import request from '@/utils/request'


// 查询用户列表
export function listGas(query) {
  return request({
    url: '/equipment/gas/list',
    method: 'post',
    params: query
  })
}
// 新增设备
export function addGas(query) {
  return request({
    url: '/equipment/gas/add',
    method: 'post',
    params: query
  })
}
// 修改设备
export function editGas(query) {
  return request({
    url: '/equipment/gas/edit',
    method: 'post',
    params: query
  })
}
// 删除设备
export function delGas(query) {
  return request({
    url: '/equipment/gas/del/'+query,
    method: 'post',
  })
}

// id查询用户列表
export function listGasById(query) {
  return request({
    url: '/equipment/gas/listById/'+query,
    method: 'post',
  })
}
